package com.gress.shop.dao;

import com.gress.shop.bo.MemberRoleRelation;
import com.gress.shop.bo.RoleActionRelation;
import com.gress.shop.bo.example.RoleActionRelationExample;

import java.util.List;

/**
 * Created xiongwen with 2018/4/12 10:15
 * Description:
 */
public interface IRoleActionRelationDao {
    int countByExample(RoleActionRelationExample example);

    int deleteByPrimaryKey(String id);

    int insert(RoleActionRelation record);

    int insertSelective(RoleActionRelation record);

    List<RoleActionRelation> selectByExample(RoleActionRelationExample example);

    RoleActionRelation selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(RoleActionRelation record);

    int updateByPrimaryKey(RoleActionRelation record);

    List<RoleActionRelation> selectByRoleId(String roleId);

    List<RoleActionRelation> selectAll();

}
